home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global reset, letgo, prev
- if prev = 2 then
- playmovn3()
- end if
- set yu to the clickOn
- if the visible of sprite 48 = 1 then
- if (the controlDown = 1) or (prev = 0) then
- set the movieRate of sprite 48 to 0
- set the visible of sprite 48 to 0
- puppetSprite(48, 0)
- end if
- end if
- if not (the stillDown) and (reset = 1) then
- reset()
- end if
- if the stillDown and (letgo = 2) and (yu > 12) and (yu < 19) and (the frame <> 56) then
- set the locH of sprite yu to the mouseH
- set the locV of sprite yu to the mouseV
- if not ((the mouseH < 520) and (the mouseH > 122) and (the mouseV < 385) and (the mouseV > 130)) then
- set the castNum of sprite yu to the number of cast string(chars(the name of cast the castNum of sprite yu, 1, 2) & "s")
- else
- set the castNum of sprite yu to the number of cast string(chars(the name of cast the castNum of sprite yu, 1, 2))
- end if
- updateStage()
- if sprite yu intersects 20 then
- addbar(yu)
- end if
- updateStage()
- end if
- go(the frame)
- end
-